projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b19f6
)
(load_pixmap): Use CHECK_TYPE.
author
Kim F. Storm
<storm@cua.dk>
Wed, 12 Jul 2006 13:22:10 +0000
(13:22 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Wed, 12 Jul 2006 13:22:10 +0000
(13:22 +0000)
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 30e1c7aa5dcb27b05ebd59007ea0e1c59b612c8a..14572af966dd444fc46948d02e819c1b86a0eae9 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-1171,14
+1171,11
@@
load_pixmap (f, name, w_ptr, h_ptr)
unsigned int *w_ptr, *h_ptr;
{
int bitmap_id;
- Lisp_Object tem;
if (NILP (name))
return 0;
- tem = Fbitmap_spec_p (name);
- if (NILP (tem))
- wrong_type_argument (Qbitmap_spec_p, name);
+ CHECK_TYPE (!NILP (Fbitmap_spec_p (name)), Qbitmap_spec_p, name);
BLOCK_INPUT;
if (CONSP (name))